home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / cpp.sdf < prev    next >
Text File  |  2007-04-07  |  3KB  |  148 lines

  1. ;C/C++ Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=C/C++
  6. Extensions=c;cpp;cxx;cc;h;hpp;hxx
  7. Functions=(?i)^[a-zA-Z].*\)|^[a-zA-Z_0-9]* [a-zA-Z_0-9]*::[a-zA-Z]*|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]* [a-zA-Z_0-9]*\(|(?i)^[a-zA-Z_0-9]* [a-zA-Z_0-9]*\(
  8. Spelling=0
  9. SpellingContexts=1;2;3
  10. CommentChar=//
  11.  
  12. [Comment1]
  13. Type=StartStop
  14. Context=1
  15. Priority=10
  16. Scope=0
  17. WholeWordOnly=0
  18. First=/*
  19. Last=*/
  20. Background=default
  21. Foreground=008000
  22. Outline=1
  23. escapeChar=\
  24.  
  25. [Comment2]
  26. Type=StartStop
  27. Context=1
  28. Scope=0
  29. Priority=10
  30. WholeWordOnly=0
  31. First=//
  32. Last=
  33. Background=Default
  34. Foreground=008000
  35. escapeChar=\
  36.  
  37. [Quote]
  38. Type=StartStop
  39. Context=2
  40. Scope=0
  41. Priority=10
  42. WholeWordOnly=0
  43. First='
  44. Last='
  45. Background=Default
  46. Foreground=408080
  47. escapeChar=\
  48.  
  49. [Quote1]
  50. Type=StartStop
  51. Context=3
  52. Scope=0
  53. Priority=10
  54. WholeWordOnly=0
  55. First="
  56. Last="
  57. Background=Default
  58. Foreground=408080
  59. escapeChar=\
  60.  
  61. [Preprocessor]
  62. Type=StartStop
  63. Context=4
  64. Scope=0
  65. Priority=9
  66. WholeWordOnly=0
  67. First=#
  68. Last=
  69. Background=Default
  70. Foreground=Default
  71. BeginParagraph=1
  72.  
  73. [Functions Folding]
  74. Type=StartStop
  75. Context=5
  76. Scope=0
  77. Priority=5
  78. WholeWordOnly=0
  79. First={
  80. Last=}
  81. Background=Default
  82. Foreground=Default
  83. Outline=1
  84. smart=1
  85.  
  86. [Keywords]
  87. Type=keyword
  88. Context=101
  89. Scope=0
  90. Priority=6
  91. WholeWordOnly=1
  92. Keyword1=asm;auto;bool;break;case;catch;char;class;const;const_cast;continue;default;delete;do;double;dynamic_cast;else;enum
  93. Keyword2=explicit;extern;false;float;for;friend;goto;if;inline;int;long;mutable;namespace;new;operator;private;protected;public
  94. Keyword3=register;reinterprete_cast;return;short;signed;sizeof;static;static_cast;struct;switch;template;this;throw;true;try
  95. Keyword4=typedef;typeid;typename;union;unsigned;using;virtual;void;volatile;wchar_t;while;__asm;__fastcall;__based;__cdecl;__pascal
  96. Keyword5=__inline;__multiple_inheritance;__single_inheritance;__virtual_inheritance
  97. Keyword6=
  98. Keyword7=
  99. Keyword8=
  100. Keyword9=
  101. Keyword10=
  102. Keyword11=
  103. Keyword12=
  104. Keyword13=
  105. Keyword14=
  106. Keyword15=
  107. Keyword16=
  108. Background=Default
  109. Foreground=0000FF
  110. Bold=0
  111. CaseSensitive=1
  112.  
  113. [Compiler directives]
  114. Type=keyword
  115. Context=102
  116. Scope=4
  117. Priority=10
  118. WholeWordOnly=1
  119. Keyword1=define;error;include;elif;if;line;else;ifdef;pragma;endif;ifndef;undef;if;else;endif;defined;
  120. Keyword2=
  121. Keyword3=
  122. Keyword4=
  123. Keyword5=
  124. Keyword6=
  125. Keyword7=
  126. Keyword8=
  127. Keyword9=
  128. Keyword10=
  129. Keyword11=
  130. Keyword12=
  131. Keyword13=
  132. Keyword14=
  133. Keyword15=
  134. Keyword16=
  135. Background=Default
  136. Foreground=646464
  137.  
  138. [#]
  139. Type=keyword
  140. Context=102
  141. Scope=0
  142. Priority=10
  143. WholeWordOnly=0
  144. Keyword1=#
  145. Background=Default
  146. Foreground=646464
  147. BeginParagraph=1
  148.